package com.jsmile.cloud.tradecenter.api.req;

import java.util.List;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import com.jsmile.mall.api.to.BaseUpdateTo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @author 龚亮
 * @version 1.0
 * @desc 为了薪资破万，还是睡一会儿吧...!
 * @date 2019年04月01日 04:45:35
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ReqPayOrder extends BaseUpdateTo {

    @ApiModelProperty(value = "订单编号")
    @NotNull(message = "订单编号不能为空")
    @Size(min = 1)
    private List<Long> orderNos;

    @ApiModelProperty(value = "付款方式，1-微信小程序支付 2微信h5支付 3微信app支付 4支付宝h5支付 5支付宝APP支付 0余额支付")
    private Integer payType;

}
